﻿using System;
using System.Collections.Generic;
using PluginService.DB.Model;

namespace PluginService.DB.Contract
{
	/// <summary>
	/// BlankFeature服务
	/// </summary>
	public interface IBlankFeatureService
	{
		#region 变量

		#endregion

		#region 属性

		#endregion

		#region 事件

		#endregion

		#region 构造函数

		#endregion

		#region 方法
		/// <summary>
		/// 获取BlankFeature
		/// </summary>
		/// <param name="id">Id</param>
		/// <returns>BlankFeature</returns>
		BlankFeature GetBlankFeature(System.Int64 id);

        BlankFeature GetBlankFeatureByGuid(System.String guid);

        bool DelBlankByGuid(System.String guid);

		/// <summary>
		/// 获取BlankFeature集合
		/// </summary>
		/// <param name="blankFeatureQp">BlankFeature</param>
		/// <returns>BlankFeature集合</returns>
		IList<BlankFeature> GetBlankFeatures(BlankFeatureQP blankFeatureQp);


        IList<BlankFeature> GetBlankFeaturesNoImages(BlankFeatureQP blankFeatureQp);

		/// <summary>
		/// 获取指定查询条件下BlankFeature集合记录数
		/// </summary>
		/// <param name="blankFeatureQp">BlankFeature</param>
		/// <returns>BlankFeature集合</returns>
		int GetBlankFeaturesCount(BlankFeatureQP blankFeatureQp);

		/// <summary>
		/// 移除BlankFeature
		/// </summary>
		/// <param name="id">Id</param>
		/// <returns>结果</returns>
		bool RemoveBlankFeature(System.Int64 id);

		/// <summary>
		/// 有否BlankFeature
		/// </summary>
		/// <param name="id">Id</param>
		/// <returns>结果</returns>
		bool HasBlankFeature(System.Int64 id);

		/// <summary>
		/// 插入BlankFeature
		/// </summary>
		/// <param name="blankFeature">BlankFeature</param>
		/// <returns>结果</returns>
		int InsertBlankFeature(BlankFeature blankFeature);
	
		/// <summary>
		/// 更新BlankFeature
		/// </summary>
		/// <param name="blankFeatureQp">BlankFeature</param>
		/// <returns>结果</returns>
		bool UpdateBlankFeature(BlankFeatureQP blankFeatureQp);
		
		/// <summary>
		/// 移除BlankFeature集合
		/// </summary>
		/// <param name="ids">Id集合</param>
		/// <returns>结果</returns>
		bool RemoveBlankFeatures(IList<System.Int64> ids);

        bool ClearBlankFeature();

		#endregion
	}
}

